﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using LowLevelGraphics.Filter;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// Barcode Edges
    /// </summary>
    public class BarcodeEdges : MacroFilter
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BarcodeEdges"/> class.
        /// </summary>
        public BarcodeEdges()
        {
            this.FilterList.Add(new Ranking());
            this.FilterList.Add(new Threshold2());
            this.FilterList.Add(new Experimental1());
        }

        /// <summary>
        /// Now this can also be used to specify the iterations for the execution of each filter
        /// </summary>
        /// <param name="_bitmap"></param>
        /// <returns></returns>
        public override UnsafeBitmap Execute(UnsafeBitmap _bitmap)
        {
            base.Execute(_bitmap);
            return _bitmap;
        }                    
    }
}
